<template>
  <div class="container">
    <van-stepper v-model="value" />
  </div>
</template>

<script>
export default {
  data () {
    return {
      center: [112.444656, 37.967027],
      position: [],
      positions: [
        {
          id: 1,
          title: '崛围山二小一家农家乐',
          location: [112.444656, 37.967027],
          url: require('@/assets/static/餐饮.png')
        },
        {
          id: 1,
          title: '崛围山二小一家农家乐',
          location: [112.444656, 37.967027],
          url: require('@/assets/static/餐饮.png')
        }
      ],
      zoom: 14,
      pitch: 45,
      rotation: 15
    }
  },
  methods: {
    onHotspotClick (e) {
      if (e && e.lnglat) {
        this.center = [e.lnglat.lng, e.lnglat.lat]
      }
    }
  }
}
</script>

<style scoped>
</style>
